//
//  PublicDefine.h
//  Training
//
//  Created by michael shen on 15/6/15.
//  Copyright (c) 2015年 coolem. All rights reserved.
//

#ifndef Training_PublicDefine_h
#define Training_PublicDefine_h

#define IOS7_OR_LATER   ([[[UIDevice currentDevice] systemVersion] compare:@"7.0"] != NSOrderedAscending)
#define ColorRGB(x,y,z,a) [UIColor colorWithRed:x/255.0 green:y/255.0 blue:z/255.0 alpha:a]

#define LocalizedLanguage(key)      NSLocalizedString(key, nil)
#define WS(weakSelf)  __weak __typeof(&*self)weakSelf = self;

#endif
